﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2012-12-12
Description:Agency_Count三层结构模型层
=============================================================================	
*/
using System;
using System.Collections.Generic;
using System.Text;
 
using PWMIS.Common;
using PWMIS.DataMap.Entity;
namespace FTchina.Models
{
	/// <summary>
	/// 
	/// </summary>
	[Serializable()]
	public class Agency_Count: EntityBase
	{
		
		//不带数的构造方法
		public Agency_Count()
		{
            TableName = "Agency_Count";
            EntityMap = EntityMapType.Table;

            //IdentityName = "标识字段名";
            IdentityName = "Id";

            //PrimaryKeys.Add("主键字段名");
            PrimaryKeys.Add("Id");
			
		}
        
        protected override void SetFieldNames()
        {           
            PropertyNames = new string[] { "Id" ,"Year" ,"Month" ,"Count" ,"AgencyID" };
        }  
        
		#region Agency_Count Filed
 		public  System.Int64 Id
		{
			 get{return getProperty< System.Int64>("Id");}
             set{setProperty("Id",value );}
		}		 
 		public System.String Year
		{
			 get{return getProperty<System.String>("Year");}
             set{setProperty("Year",value );}
		}		 
 		public System.String Month
		{
			 get{return getProperty<System.String>("Month");}
             set{setProperty("Month",value );}
		}		 
 		public  System.Int64 Count
		{
			 get{return getProperty< System.Int64>("Count");}
             set{setProperty("Count",value );}
		}		 
 		public System.String AgencyID
		{
			 get{return getProperty<System.String>("AgencyID");}
             set{setProperty("AgencyID",value );}
		}		 
		#endregion
	}
}

